package com.usefullc.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.usefullc.system.entity.BaseEntity;
import com.usefullc.system.validator.UsefulPropertyVerify;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("国际化信息")
@TableName("sys_local_info")
@Data
public class LocalInfo extends BaseEntity {

    @UsefulPropertyVerify(required = true)
    @ApiModelProperty(notes = "类型（0 提示消息，1 app label, 2 other ）")
    private Integer type;

    @UsefulPropertyVerify(required = true,minLen = 2,maxLen = 10)
    @ApiModelProperty(notes = "关键字")
    private String key;

    @UsefulPropertyVerify(required = true,minLen = 2,maxLen = 10)
    @ApiModelProperty(notes = "应用类型")
    private String appType;

}
